package com.shop.product.server.vo;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;

import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * User: dpengpeng
 * Date: 2018/5/18
 * Time: 22:41
 * Description:
 */
@Data
public class ProductInfoVo {

    @JsonProperty("id")
    private String productId;

    /**
     * 名字.
     */
    @JsonProperty("name")
    private String productName;

    /**
     * 单价.
     */
    @JsonProperty("price")
    private BigDecimal productPrice;


    /**
     * 描述.
     */
    @JsonProperty("description")
    private String productDescription;

    /**
     * 小图.
     */
    @JsonProperty("icon")
    private String productIcon;

}
